﻿using System;
using System.Linq;
using DB.SDFAuth;
using NUnit.Framework;
using Nop.Tests;
using SDFAuth;
using Weapsy;

namespace Nop.Data.Tests.Blogs
{
    [TestFixture]
    public class GuidTest 
    {
        [Test]
        public void SSS()
        {
            //using (var context = new WeapsyEntities())
            //{
            //    var entity = new GuidTable() {userid = Guid.NewGuid(), username = "sdf333"};
            //    //context.GuidTables.Add(entity);
            //    //context.SaveChanges();

            //    var str = "5FAF55FD-2BEA-4164-A9A0-1C8BD0DDE115";
            //    Assert.True(context.GuidTables.Any(_ => _.userid == new Guid(str))); 
            //}
        }
    }
}
